body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100vh;
}
footer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
    align-items: center;
    background-color: #222;
    color: white;
    padding: 5px 10px;
    width: 100%;
    box-sizing: border-box;
    border-top: #f4f4f4 solid 2px;
}
ul.footer-info {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 5px; 
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.footer-info li {
    margin: 0;
}


.logo img {
    height: auto;
    width: 150px;
}

.container {
    display: grid;
    grid-template-rows: auto 2fr 1fr auto;
    height: 100vh;
    gap: 20px;
    max-width: 100vw;
    overflow-x: hidden;
}

nav {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    background-color: #222;
    color: white;
    padding: 10px 20px;
    height: 60px;
    justify-content: space-between;
    width: 100%;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 15px;
    justify-self: right;
    padding-right: 60px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: antiquewhite;
    background-color: black;
    border-radius: 5px;
}

main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 20px;
    padding: 0 20px;
}

.carousel {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}

.description {
    padding-left: 10px;
    padding-right: 10px;
}


.logofooter img {
    height: auto;
    width: 75px;
}


.bottom-section {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    height: auto;
    min-height: 234px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-box, .image-box {
    display: grid;
    place-items: center;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
}

.image-box {
    height: 40%;
}

.image-box img {
    width: 100%;
    height: auto;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
h5 {
    font-size: 20px;
}

.keithnav{
    background-color: rgb(255, 0, 0);
}
.keithfooter{
    background-color: rgb(255, 0, 0);
}
.roynav{
    background-color: rgb(0, 17, 255);
}
.royfooter{
    background-color: rgb(0, 17, 255);
}
.andynav{
    background-color: rgb(146, 95, 0);
}
.andyfooter{
    background-color: rgb(146, 95, 0);
}